add_executable(demoService demoClient.cxx demoServer.cxx entry.cxx)
if(ANDROID)
    target_link_libraries(demoService PRIVATE log)
endif()
target_link_libraries(demoService PRIVATE simpCore erpc protobuf rpcproto)
if(HAVE_PTHREAD)
    target_link_libraries(demoService PRIVATE pthread)
endif()
install(TARGETS demoService ARCHIVE DESTINATION bin)
